package com.example.bootcurriculumproject.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;
import org.springframework.data.annotation.Id;

@TableName("shippingarea")
@Data
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class Ship {
    //地址编号
    @TableId(type = IdType.ASSIGN_ID)
    private Long addressnum;
    //用户uid
    private String uid;
    //收货人
    private String consignee;
    //地区
    private String region;
    //详细地址
    private String address;
    //邮政编码
    private int postalcode;
    //电话号码
    private int phone;

}
